#pragma once

#include "Menu.h"
#include "Vectors.h"

class SearchMenu : public Menu
{
public:
	SearchMenu(MenuManager* const i_menuManager);
	
	void Draw() const;
	bool Input(const STL::string& i_input);

private:
	size_t FillVector(const PeopleVec& i_vec, const STL::string& i_search);

	PeopleVec m_playersFind;
	TeamVec m_teamsFind;

	size_t m_lastFree;
	size_t m_lastBusy;
	size_t m_lastFreeTrainer;
	size_t m_lastBusyTrainer;
};
